package com.larissa.android.quiz;

import androidx.lifecycle.ViewModel;

import java.util.List;

public class MainViewModel extends ViewModel
{
    public int statusFlag = 0;          // 主界面
    public String ExpString;

    public List<Question> historyQuestions;

    public String nowString;

    public String lastString;

    public Question nowQuestion;

    public int DirFlag = 0;         //0竖屏，1横屏
    public int BacketCount = 0;

    public MainViewModel()
    {
        MainRepository mainRepository = MainRepository.getInstance();
        historyQuestions = mainRepository.historyQuestions;
    }
}
